package com.myhome.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.myhome.domain.UserBank;
import com.baomidou.mybatisplus.extension.service.IService;
import com.myhome.dto.BankDto;

/**
*@Author QYiXin 
* @Date 2021 10 13 10 51
**/
public interface UserBankService extends IService<UserBank>{


        Page<UserBank> getPagesBanks(Page<UserBank> page, Long userId);

        UserBank getCurrentUserBank(Long userId);

        Boolean bindUserBank(Long userId, UserBank userBank);

        BankDto getSomeUserBankInfo(Long userId);
    }
